/**
  ******************************************************************************
  * @file           : main.c
  * @brief          : Main program body
  ******************************************************************************
  */
/* Includes ------------------------------------------------------------------*/
#include "hw.h"
#include "unit_test.h"

/* Private variables ---------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
void boardInit(void)
{
    //! 移除编译器警告
#ifdef FIRMWARE_USING_FILL_CHECKSUM
    extern uint32_t __checksum;
    if(__checksum == 0) __checksum = 1;
#endif

    hwSysInit();
}


/* Private function prototypes -----------------------------------------------*/
/**
  * @brief  The application entry point.
  *
  * @retval None
  */
int main(void)
{
	boardInit();

    return unitTestRun();
}

/******************************** END OF FILE *********************************/
